package com.learn.javase.chapter18.reflect.proxy.cglib;

//目标对象：定义业务逻辑
public class PersonService {
    public PersonService() {
        System.out.println("PersonService构造");
    }

    //final方法不会被子类覆盖
    final public String getPerson(String code) {
        System.out.println("PersonService:getPerson>>" + code);
        return null;
    }

    public void setPerson() {
        System.out.println("PersonService:setPerson");
    }
}
